Application Process
An object of class Application Process is a process that has been launched from an application file.PROPERTIES
An application process has all the properties defined for object class Process
on page 76: Creator Type, File, File Type, Frontmost, Name, Partition Size, Partition Space Used, Remote Events, Scriptable, and Visible.An application process also has this property:
application file
- The application file from which this process was launched.
Class: Reference
Modifiable: NoELEMENT CLASSES
NoneCOMMANDS HANDLED
Count, Data Size, Exists, Get, SortDEFAULT VALUE CLASS RETURNED
A reference or, if you use the plural formapplication processes
, a list of references of the form
application "ApplicationProcessName"where ApplicationProcessName is the name of an application process as it appears in the Applications menu.EXAMPLES
You can use a script like this to get a list of all the application processes that are currently running:
tell application "Finder" application processes end --result: {application "HyperCard", application "Script Editor", application "Scriptable Text Editor"}The following script hides the TeachText application process:
tell application "Finder" set visible of application process "TeachText" to false end tell